<template>
  <div class="dashboard-container">
    <div class="dashboard-text">name11111: {{ name }}</div>
  </div>
</template>

<script>
  import { mapGetters } from 'vuex'
  import {hasAll} from '../../api/admin/admin'

  export default {
    name: 'Dashboard',
    data() {
      return {}
    },
    computed: {
      ...mapGetters([
        'name'
      ])
    },
    created() {
      this.init()
    },
    methods: {

      init() {
        let data = {

        }
        hasAll(data, (res) => {
          console.log(res)
        })
      }
    }
  }
</script>

<style lang="scss" scoped>
  .dashboard {
    &-container {
      margin: 30px;
    }
    &-text {
      font-size: 30px;
      line-height: 46px;
    }
  }
</style>
